/*******************************************************************
 *         Advanced 3D Game Programming using DirectX 9.0
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * copyright (c) 2003 by Peter A Walsh and Adrian Perez
 * See license.txt for modification and distribution information
 ******************************************************************/

#include "point2.h"
//#include "point4.h"

const Point2 Point2::Zero( 0.f,0.f );

const Point2 Point2::i( 1.f, 0.f );
const Point2 Point2::j( 0.f, 1.f );
const Point2 Point2::k( 0.f, 0.f );

/*
Point2::Point2( const point4& in )
{
	/**
	 * If the homogenous coordinate isn't 1, normalize the point.
	 * /
	if( in.w != 1.f )
	{
		float inv = 1/in.w;
		x = in.x * inv;
		y = in.y * inv;
	}
	else
	{
		x = in.x;
		y = in.y;
	}
}
*/